package com.example.administrator.liveapp.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/11/2.
 */

public class AllOrdersBean {

    /**
     * bookOrder : [{"goodsOrder":"201711041958212789","name":"衢州半书房","bookOrderId":"243","bookOrderStatus":"0","timeForPay":1509797601,"bookList":[{"bookBannerImg":"/Uploads/2017/09/1505368502160177.png|","bookTitle":"丝绸之路:一部全新的世界史","bookId":22,"storeId":"1","price":"76.60","num":"1"}]},{"goodsOrder":"201711041752116339","name":"衢州半书房","bookOrderId":"242","bookOrderStatus":"0","timeForPay":1509790031,"bookList":[{"bookBannerImg":"/Uploads/2017/09/1505354627802767.png|","bookTitle":"大卫,不可以!","bookId":20,"storeId":"1","price":"25.80","num":"1"},{"bookBannerImg":"/Uploads/2017/09/1505368502160177.png|","bookTitle":"丝绸之路:一部全新的世界史","bookId":22,"storeId":"1","price":"76.60","num":"1"}]},{"goodsOrder":"201711041751465723","name":"衢州半书房","bookOrderId":"241","bookOrderStatus":"0","timeForPay":1509790006,"bookList":[{"bookBannerImg":"/Uploads/2017/09/1505368325980856.png|","bookTitle":"时间简史","bookId":18,"storeId":"1","price":"31.00","num":"1"},{"bookBannerImg":"/Uploads/2017/09/1505354627802767.png|","bookTitle":"大卫,不可以!","bookId":20,"storeId":"1","price":"25.80","num":"1"},{"bookBannerImg":"/Uploads/2017/09/1505368502160177.png|","bookTitle":"丝绸之路:一部全新的世界史","bookId":22,"storeId":"1","price":"76.60","num":"1"}]},{"goodsOrder":"201711041748573171","name":"衢州半书房","bookOrderId":"240","bookOrderStatus":"0","timeForPay":1509789837,"bookList":[{"bookBannerImg":"/Uploads/2017/09/1505271431469689.png|","bookTitle":"小小自然图书馆","bookId":17,"storeId":"1","price":"129.00","num":"1"},{"bookBannerImg":"/Uploads/2017/09/1505368325980856.png|","bookTitle":"时间简史","bookId":18,"storeId":"1","price":"31.00","num":"1"},{"bookBannerImg":"/Uploads/2017/09/1505354627802767.png|","bookTitle":"大卫,不可以!","bookId":20,"storeId":"1","price":"25.80","num":"1"},{"bookBannerImg":"/Uploads/2017/09/1505368502160177.png|","bookTitle":"丝绸之路:一部全新的世界史","bookId":22,"storeId":"1","price":"76.60","num":"1"}]},{"goodsOrder":"201711041748030444","name":"衢州半书房","bookOrderId":"239","bookOrderStatus":"0","timeForPay":1509789783,"bookList":[{"bookBannerImg":"/Uploads/2017/09/1505368502160177.png|","bookTitle":"丝绸之路:一部全新的世界史","bookId":22,"storeId":"1","price":"76.60","num":"1"}]},{"goodsOrder":"201711041745101399","name":"衢州半书房","bookOrderId":"238","bookOrderStatus":"0","timeForPay":1509789610,"bookList":[{"bookBannerImg":"/Uploads/2017/09/1505271431469689.png|","bookTitle":"小小自然图书馆","bookId":17,"storeId":"1","price":"129.00","num":"1"},{"bookBannerImg":"/Uploads/2017/09/1505354627802767.png|","bookTitle":"大卫,不可以!","bookId":20,"storeId":"1","price":"25.80","num":"1"}]},{"goodsOrder":"201711041737596492","name":"衢州半书房","bookOrderId":"237","bookOrderStatus":"0","timeForPay":1509789179,"bookList":[{"bookBannerImg":"/Uploads/2017/09/1505368325980856.png|","bookTitle":"时间简史","bookId":18,"storeId":"1","price":"31.00","num":"1"}]},{"goodsOrder":"201711041736117961","name":"衢州半书房","bookOrderId":"236","bookOrderStatus":"0","timeForPay":1509789071,"bookList":[{"bookBannerImg":"/Uploads/2017/09/1505368325980856.png|","bookTitle":"时间简史","bookId":18,"storeId":"1","price":"31.00","num":"1"}]},{"goodsOrder":"2147483647","name":"衢州半书房","bookOrderId":"235","bookOrderStatus":"0","timeForPay":1509787482,"bookList":[{"bookBannerImg":"/Uploads/2017/09/1505368502160177.png|","bookTitle":"丝绸之路:一部全新的世界史","bookId":22,"storeId":"1","price":"76.60","num":"1"}]}]
     * result : true
     * code : 4310
     * message : success for select bookOrder
     */

    private boolean result;
    private int code;
    private String message;
    private List<BookOrderBean> bookOrder=null;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<BookOrderBean> getBookOrder() {
        return bookOrder;
    }

    public void setBookOrder(List<BookOrderBean> bookOrder) {
        this.bookOrder = bookOrder;
    }

    public static class BookOrderBean {
        /**
         * goodsOrder : 201711041958212789
         * name : 衢州半书房
         * bookOrderId : 243
         * bookOrderStatus : 0
         * timeForPay : 1509797601
         * bookList : [{"bookBannerImg":"/Uploads/2017/09/1505368502160177.png|","bookTitle":"丝绸之路:一部全新的世界史","bookId":22,"storeId":"1","price":"76.60","num":"1"}]
         */

        private String goodsOrder;
        private String name;
        private String bookOrderId;
        private String bookOrderStatus;
        private int timeForPay;
        private List<BookListBean> bookList;

        public String getGoodsOrder() {
            return goodsOrder;
        }

        public void setGoodsOrder(String goodsOrder) {
            this.goodsOrder = goodsOrder;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getBookOrderId() {
            return bookOrderId;
        }

        public void setBookOrderId(String bookOrderId) {
            this.bookOrderId = bookOrderId;
        }

        public String getBookOrderStatus() {
            return bookOrderStatus;
        }

        public void setBookOrderStatus(String bookOrderStatus) {
            this.bookOrderStatus = bookOrderStatus;
        }

        public int getTimeForPay() {
            return timeForPay;
        }

        public void setTimeForPay(int timeForPay) {
            this.timeForPay = timeForPay;
        }

        public List<BookListBean> getBookList() {
            return bookList;
        }

        public void setBookList(List<BookListBean> bookList) {
            this.bookList = bookList;
        }

        public static class BookListBean {
            /**
             * bookBannerImg : /Uploads/2017/09/1505368502160177.png|
             * bookTitle : 丝绸之路:一部全新的世界史
             * bookId : 22
             * storeId : 1
             * price : 76.60
             * num : 1
             */

            private String bookBannerImg;
            private String bookTitle;
            private int bookId;
            private String storeId;
            private String price;
            private String num;

            public String getBookBannerImg() {
                return bookBannerImg;
            }

            public void setBookBannerImg(String bookBannerImg) {
                this.bookBannerImg = bookBannerImg;
            }

            public String getBookTitle() {
                return bookTitle;
            }

            public void setBookTitle(String bookTitle) {
                this.bookTitle = bookTitle;
            }

            public int getBookId() {
                return bookId;
            }

            public void setBookId(int bookId) {
                this.bookId = bookId;
            }

            public String getStoreId() {
                return storeId;
            }

            public void setStoreId(String storeId) {
                this.storeId = storeId;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }
        }
    }
}
